<template>
    222222
</template>
  
<script>
import { useRoute } from 'vue-router';

import $tools from '~/utils/tool.ts'

export default {
    layout: 'admin',
    created() {
        $tools.setRouter(this.$route.path)
    },
}

const route = useRoute();

console.log(route.path);
console.log(route);






</script>